package com.banshuibao.bsb_android.model;

import java.util.List;

/**
 * Created by Administrator on 2018/1/25.
 */

public class DealModel {


    /**
     * code : 1
     * des : 请求成功
     * data : [{"uuid":"37d7ea465b994bca90b81462228ab759","productId":"0edb55ad586c4e4f911637970334fb0b","userId":"hsjahjshajs87sjahsahsj782hj","createDate":1516848943000,"price":9.75,"paySucTime":1516848943000,"goodsType":"抢答分成","tradeType":"1","payType":"2","status":"0","accountType":"1","remark":null,"originalPrice":9.75}]
     * sinceId : 1
     * rows : 1
     * maxId : 1
     */

    private String code;
    private String des;
    private int sinceId;
    private int rows;
    private int maxId;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public int getSinceId() {
        return sinceId;
    }

    public void setSinceId(int sinceId) {
        this.sinceId = sinceId;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getMaxId() {
        return maxId;
    }

    public void setMaxId(int maxId) {
        this.maxId = maxId;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class body{
        private int sinceId;
        private int maxId;
        private String type;

        public int getSinceId() {
            return sinceId;
        }

        public void setSinceId(int sinceId) {
            this.sinceId = sinceId;
        }

        public int getMaxId() {
            return maxId;
        }

        public void setMaxId(int maxId) {
            this.maxId = maxId;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public static class DataBean {
        /**
         * uuid : 37d7ea465b994bca90b81462228ab759
         * productId : 0edb55ad586c4e4f911637970334fb0b
         * userId : hsjahjshajs87sjahsahsj782hj
         * createDate : 1516848943000
         * price : 9.75
         * paySucTime : 1516848943000
         * goodsType : 抢答分成
         * tradeType : 1
         * payType : 2
         * status : 0
         * accountType : 1
         * remark : null
         * originalPrice : 9.75
         */

        private String uuid;
        private String productId;
        private String userId;
        private long createDate;
        private double price;
        private long paySucTime;
        private String goodsType;
        private String tradeType;
        private String payType;
        private String status;
        private String accountType;
        private Object remark;
        private double originalPrice;

        public String getUuid() {
            return uuid;
        }

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        public String getProductId() {
            return productId;
        }

        public void setProductId(String productId) {
            this.productId = productId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public long getPaySucTime() {
            return paySucTime;
        }

        public void setPaySucTime(long paySucTime) {
            this.paySucTime = paySucTime;
        }

        public String getGoodsType() {
            return goodsType;
        }

        public void setGoodsType(String goodsType) {
            this.goodsType = goodsType;
        }

        public String getTradeType() {
            return tradeType;
        }

        public void setTradeType(String tradeType) {
            this.tradeType = tradeType;
        }

        public String getPayType() {
            return payType;
        }

        public void setPayType(String payType) {
            this.payType = payType;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getAccountType() {
            return accountType;
        }

        public void setAccountType(String accountType) {
            this.accountType = accountType;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }

        public double getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(double originalPrice) {
            this.originalPrice = originalPrice;
        }
    }
}
